/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package ve.com.fitsoft.eicb.encuesta.SB.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the Pregunta service. Represents a row in the &quot;encuesta_Pregunta&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link ve.com.fitsoft.eicb.encuesta.SB.model.impl.PreguntaModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link ve.com.fitsoft.eicb.encuesta.SB.model.impl.PreguntaImpl}.
 * </p>
 *
 * @author leo
 * @see Pregunta
 * @see ve.com.fitsoft.eicb.encuesta.SB.model.impl.PreguntaImpl
 * @see ve.com.fitsoft.eicb.encuesta.SB.model.impl.PreguntaModelImpl
 * @generated
 */
public interface PreguntaModel extends BaseModel<Pregunta> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a pregunta model instance should use the {@link Pregunta} interface instead.
	 */

	/**
	 * Returns the primary key of this pregunta.
	 *
	 * @return the primary key of this pregunta
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this pregunta.
	 *
	 * @param primaryKey the primary key of this pregunta
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the id pregunta of this pregunta.
	 *
	 * @return the id pregunta of this pregunta
	 */
	public long getIdPregunta();

	/**
	 * Sets the id pregunta of this pregunta.
	 *
	 * @param idPregunta the id pregunta of this pregunta
	 */
	public void setIdPregunta(long idPregunta);

	/**
	 * Returns the id encuesta of this pregunta.
	 *
	 * @return the id encuesta of this pregunta
	 */
	public long getIdEncuesta();

	/**
	 * Sets the id encuesta of this pregunta.
	 *
	 * @param idEncuesta the id encuesta of this pregunta
	 */
	public void setIdEncuesta(long idEncuesta);

	/**
	 * Returns the pregunta of this pregunta.
	 *
	 * @return the pregunta of this pregunta
	 */
	@AutoEscape
	public String getPregunta();

	/**
	 * Sets the pregunta of this pregunta.
	 *
	 * @param pregunta the pregunta of this pregunta
	 */
	public void setPregunta(String pregunta);

	/**
	 * Returns the tipo of this pregunta.
	 *
	 * @return the tipo of this pregunta
	 */
	@AutoEscape
	public String getTipo();

	/**
	 * Sets the tipo of this pregunta.
	 *
	 * @param tipo the tipo of this pregunta
	 */
	public void setTipo(String tipo);

	/**
	 * Returns the opciones of this pregunta.
	 *
	 * @return the opciones of this pregunta
	 */
	@AutoEscape
	public String getOpciones();

	/**
	 * Sets the opciones of this pregunta.
	 *
	 * @param opciones the opciones of this pregunta
	 */
	public void setOpciones(String opciones);

	/**
	 * Returns the company ID of this pregunta.
	 *
	 * @return the company ID of this pregunta
	 */
	public long getCompanyId();

	/**
	 * Sets the company ID of this pregunta.
	 *
	 * @param companyId the company ID of this pregunta
	 */
	public void setCompanyId(long companyId);

	/**
	 * Returns the group ID of this pregunta.
	 *
	 * @return the group ID of this pregunta
	 */
	public long getGroupId();

	/**
	 * Sets the group ID of this pregunta.
	 *
	 * @param groupId the group ID of this pregunta
	 */
	public void setGroupId(long groupId);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(Pregunta pregunta);

	public int hashCode();

	public CacheModel<Pregunta> toCacheModel();

	public Pregunta toEscapedModel();

	public String toString();

	public String toXmlString();
}